[ASP.NET MVC] Problem with View - it does not refresh after db update

Posted by crocodillez on Stack Overflow See other posts from Stack Overflow or by crocodillez
Published on 2010-05-13T09:30:15Z Indexed on 2010/05/13 9:34 UTC
Read the original article Hit count: 128

Filed under:
|
|

Hi,

I am working with small ASP.NET MVC project - online store. I have addToCart method which adds selected product to cart - it updates cart table in my db and showing cart view with its content. But I have problems. while db is updating correctly the view does not. I see that quantity of the product in my db is incremented correctly but quantity in view is not changed. I have to stop debugging my app in visual studia and restart it - then my view is showing correct data. What can be wrong?

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc